home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
util
/
moni
/
msfu_v11.lha
/
MSFU
/
MSFU.doc
< prev
Wrap
Text File
|
1995-09-09
|
12KB
|
227 lines
REQUIREMENTS :
~~~~~~~~~~~~~~
Kickstart 2.04 or better.
INTRODUCTION :
~~~~~~~~~~~~~~
MSFU stands for "Monitor System Files Usage". In other words,
MSFU looks at the system files (currently devices and libraries)
you _REALLY_ use (ie system files that are opened at least once
by a program). This allows you to clean up "libs" directory or
"devs" directory which are quickly filled by useless files when
you install a lot of applications.
Note that to achieve this, MSFU _DOESN'T_ patch any library
function (like OpenLibrary), but scans exec lists every xx minutes
(where xx is chosen by the user). This method is less accurate
than patching one, but safer for the system (I hate patches :^)).
USING :
~~~~~~~
MSFU is an only CLI tool and should be called from "user-startup"
file (of course it isn't an obligation, but it seems logical to do so).
Its command line template is :
TF=TRACEFILE,LIBS/S,DEVS/S,ALL/S,FD=FIRSTDELAY/N,DELAY/N,BEEP/S,REQUESTER/S
where :
- TRACEFILE is the name of the file where MSFU will save the
results of its monitoring (by default : "PROGDIR:MSFU.trace")
- LIBS is a switch to indicate to MSFU to monitor libraries
- DEVS is a switch to indicate to MSFU to monitor devices
- ALL is a switch which replaces both LIBS and DEVS ones
- FIRSTDELAY is the amount of time (in minutes) before MSFU
checks and saves the system files for the first time (by default :
10 minutes)
- DELAY is the amount of time (in minutes) between each time
when MSFU checks and saves the system files (by default : 30 minutes)
- BEEP is a switch to tell MSFU to flash the screen (DisplayBeep
function used) one second before checking and saving the system files
- REQUESTER is a switch to tell MSFU to request confirmation
before checking and saving the system files
If you call MSFU without none of LIBS, DEVS or ALL switches (whatever
you give for other parameters), MFSU will simply show all the statistics,
and will quit just after without monitoring anything. The statistics
are printed in 6 columns both for libraries and devices : name, average
open count, last time you used it, version number, number of different
versions you have used since today, and last time you change of version.
Output is sorted : the more opened files are shown before.
If you want to reset statistics, simply delete trace file.
It may seem strange to have the two parameters FIRSTDELAY and DELAY.
But FIRSTDELAY allows you to have a first scan just after booting. That's
why I put 10 minutes by default : this leaves your Amiga the time to
boot and you the time to run some applications. With DELAY, you can
set the delay between the other scans, which is logically bigger (you
don't change your activity every 10 minutes !).
If you don't turn on one of the BEEP or REQUESTER switches, MSFU
will save the scan results without noticing you, which can be dangerous
(imagine you reboot your Amiga at this moment :^(). So I strongly advise
you to use one of these switches. REQUESTER one is the safest (MFSU
waits your agreement before saving), but BEEP one (MFSU flashes the
screen one second before saving) may be enough for some people.
MSFU will leave immediately if it recieves a CTRL-C signal.
That's all folks !
EXAMPLE :
~~~~~~~~~
You can find in my user-startup :
run >NIL: MSFU >NIL: ALL REQUESTER
And now, when I simply type MSFU, I get :
¢1;33;40mMSFU¢0;31;40m v1.0
Copyright ⌐ 1995, Lionel Vintenat
¢1;32;40m---------------------------------¢0;31;40m
65 check were done since 20-Ao√t-95.
¢1;33;40mLibrary name Opened Last used Version Chng Last change
¢0;31;40mdos.library 77.82 05-Sep-95 39.23 0 20-Ao√t-95
utility.library 49.82 05-Sep-95 39.10 0 20-Ao√t-95
icon.library 20.83 05-Sep-95 39.3 0 20-Ao√t-95
gadtools.library 20.77 05-Sep-95 39.356 0 20-Ao√t-95
iffparse.library 13.82 05-Sep-95 39.2 0 20-Ao√t-95
workbench.library 8.54 05-Sep-95 39.48 0 20-Ao√t-95
rexxsyslib.library 4.40 05-Sep-95 36.23 0 20-Ao√t-95
expansion.library 4.08 05-Sep-95 39.7 0 20-Ao√t-95
whatis.library 2.58 05-Sep-95 4.2 0 20-Ao√t-95
xpkmaster.library 2.15 05-Sep-95 2.4 0 20-Ao√t-95
ilbm.datatype 2.03 05-Sep-95 39.9 0 20-Ao√t-95
matrix.library 1.94 05-Sep-95 25.3004 0 20-Ao√t-95
graphics.library 1.02 05-Sep-95 39.89 0 20-Ao√t-95
layers.library 1.02 05-Sep-95 39.61 0 20-Ao√t-95
keymap.library 1.02 05-Sep-95 37.2 0 20-Ao√t-95
intuition.library 1.02 05-Sep-95 39.2084 0 20-Ao√t-95
8svx.datatype 1.02 05-Sep-95 39.4 0 20-Ao√t-95
sound.datatype 1.02 05-Sep-95 39.5 0 20-Ao√t-95
mathieeesingbas.library 1.02 05-Sep-95 37.3 0 20-Ao√t-95
mathieeedoubbas.library 1.02 05-Sep-95 40.6 0 20-Ao√t-95
exec.library 1.02 05-Sep-95 39.47 0 20-Ao√t-95
franτais.language 1.02 05-Sep-95 38.1 0 20-Ao√t-95
screennotify.library 1.00 05-Sep-95 1.0 0 20-Ao√t-95
cronserver.library 0.97 05-Sep-95 30.134 0 20-Ao√t-95
rexxhost.library 0.97 05-Sep-95 37.1 0 20-Ao√t-95
parm.library 0.72 05-Sep-95 13.5 0 21-Ao√t-95
archive.library 0.72 05-Sep-95 3.7 0 21-Ao√t-95
muimaster.library 0.65 05-Sep-95 10.0 0 21-Ao√t-95
mui-xenknob.image 0.28 05-Sep-95 7.9 0 21-Ao√t-95
Floattext.mui 0.25 05-Sep-95 10.11 0 26-Ao√t-95
Gauge.mui 0.25 05-Sep-95 10.11 0 26-Ao√t-95
req.library 0.23 05-Sep-95 2.7 0 23-Ao√t-95
mathffp.library 0.20 31-Ao√t-95 39.1 0 21-Ao√t-95
mathtrans.library 0.20 31-Ao√t-95 40.6 0 21-Ao√t-95
CrM.library 0.17 05-Sep-95 4.30 0 20-Ao√t-95
jpeg.datatype 0.06 28-Ao√t-95 39.1 0 21-Ao√t-95
powerpacker.library 0.06 29-Ao√t-95 36.10 0 21-Ao√t-95
scan1.library 0.05 27-Ao√t-95 104.0 0 21-Ao√t-95
xpkNUKE.library 0.02 05-Sep-95 1.0 0 21-Ao√t-95
locale.library 0.00 05-Sep-95 38.27 0 20-Ao√t-95
asl.library 0.00 05-Sep-95 39.4 0 20-Ao√t-95
datatypes.library 0.00 05-Sep-95 39.11 0 20-Ao√t-95
diskfont.library 0.00 05-Sep-95 39.3 0 20-Ao√t-95
reqtools.library 0.00 05-Sep-95 38.1266 0 20-Ao√t-95
picture.datatype 0.00 05-Sep-95 39.14 0 20-Ao√t-95
commodities.library 0.00 05-Sep-95 39.1 0 20-Ao√t-95
toolmanager.library 0.00 05-Sep-95 3.1 0 20-Ao√t-95
explode.library 0.00 05-Sep-95 6.0 0 21-Ao√t-95
xpkSQSH.library 0.00 29-Ao√t-95 1.10 0 21-Ao√t-95
amigaguide.library 0.00 05-Sep-95 39.11 0 21-Ao√t-95
amigaguide.datatype 0.00 05-Sep-95 39.15 0 21-Ao√t-95
nonvolatile.library 0.00 22-Ao√t-95 40.36 0 22-Ao√t-95
lowlevel.library 0.00 22-Ao√t-95 40.35 0 22-Ao√t-95
mathieeedoubtrans.library 0.00 28-Ao√t-95 40.6 0 28-Ao√t-95
c.datatype 0.00 28-Ao√t-95 39.13 0 28-Ao√t-95
text.datatype 0.00 29-Ao√t-95 39.7 0 28-Ao√t-95
ascii.datatype 0.00 29-Ao√t-95 39.5 0 29-Ao√t-95
xpkBLZW.library 0.00 29-Ao√t-95 3.0 0 29-Ao√t-95
xpkCBR0.library 0.00 29-Ao√t-95 1.0 0 29-Ao√t-95
xpkCRM2.library 0.00 29-Ao√t-95 1.1 0 29-Ao√t-95
xpkCRMS.library 0.00 29-Ao√t-95 1.1 0 29-Ao√t-95
xpkDHUF.library 0.00 29-Ao√t-95 0.58 0 29-Ao√t-95
xpkDLTA.library 0.00 29-Ao√t-95 0.1 0 29-Ao√t-95
xpkENCO.library 0.00 29-Ao√t-95 1.0 0 29-Ao√t-95
xpkFAST.library 0.00 29-Ao√t-95 1.3 0 29-Ao√t-95
xpkFEAL.library 0.00 29-Ao√t-95 1.0 0 29-Ao√t-95
xpkHFMN.library 0.00 29-Ao√t-95 1.36 0 29-Ao√t-95
xpkHUFF.library 0.00 29-Ao√t-95 0.61 0 29-Ao√t-95
xpkIDEA.library 0.00 29-Ao√t-95 1.0 0 29-Ao√t-95
xpkIMPL.library 0.00 29-Ao√t-95 1.0 0 29-Ao√t-95
xpkMASH.library 0.00 29-Ao√t-95 1.98 0 29-Ao√t-95
xpkNONE.library 0.00 29-Ao√t-95 1.0 0 29-Ao√t-95
xpkPWPK.library 0.00 29-Ao√t-95 1.0 0 29-Ao√t-95
xpkRAKE.library 0.00 29-Ao√t-95 1.5 0 29-Ao√t-95
xpkRDCN.library 0.00 29-Ao√t-95 2.1 0 29-Ao√t-95
xpkRLEN.library 0.00 29-Ao√t-95 1.0 0 29-Ao√t-95
xpkSHRI.library 0.00 29-Ao√t-95 2.1 0 29-Ao√t-95
xpkSMPL.library 0.00 29-Ao√t-95 1.0 0 29-Ao√t-95
ss.library 0.00 31-Ao√t-95 5.103 0 31-Ao√t-95
binary.datatype 0.00 31-Ao√t-95 39.10 0 31-Ao√t-95
gif.datatype 0.00 02-Sep-95 39.16 0 02-Sep-95
f1gp.library 0.00 05-Sep-95 34.1 0 05-Sep-95
¢1;33;40mDevice name Opened Last used Version Chng Last change
¢0;31;40mtimer.device 33.74 05-Sep-95 39.4 0 20-Ao√t-95
input.device 13.97 05-Sep-95 37.12 0 20-Ao√t-95
trackdisk.device 9.20 05-Sep-95 39.4 0 20-Ao√t-95
console.device 4.02 05-Sep-95 39.28 0 20-Ao√t-95
scsi.device 4.02 05-Sep-95 3940.3942 0 20-Ao√t-95
mfm.device 3.06 05-Sep-95 38.5 0 20-Ao√t-95
diskspare.device 3.05 05-Sep-95 3.0 0 20-Ao√t-95
keyboard.device 2.06 05-Sep-95 37.12 0 20-Ao√t-95
audio.device 1.15 05-Sep-95 37.10 0 20-Ao√t-95
gameport.device 1.02 05-Sep-95 37.12 0 20-Ao√t-95
ramdrive.device 1.02 05-Sep-95 39.35 0 20-Ao√t-95
statram.device 1.02 05-Sep-95 37.7 0 20-Ao√t-95
clipboard.device 0.97 05-Sep-95 38.8 0 20-Ao√t-95
TECHNICAL :
~~~~~~~~~~~
Compiled with Amiga E v3.2a registered. Sources included.
FUTURE :
~~~~~~~~
MSFU becoming a commodity ? Hummm, why not if some people request
this feature :^)
HISTORY :
~~~~~~~~~
1.0 : first release
1.1 : - correction of the aminet readme file : the "short" line
was taken from another readme file of mine :^)
- correction of the doc file : I forgot the last time to
mention that MSFU can be interrupted by CTRL-C (you know :
MSFU has so much features ;^) )
- I used timer device instead of Delay dos function, so now
MSFU leave _immediately_ if it recieves a CTRL-C signal
- MSFU waited for one second _before_ flashing the screen if
you switched on BEEP (hummm a bit stupid !), now it waits
for one second _after_ flashing the screen
- now MSFU gives you 3 choices instead of one ("Yes" !) when
opening the confirmation requester : "Yes", "No" and "Quit"
DISTRIBUTION & DISCLAIMER :
~~~~~~~~~~~~~~~~~~~~~~~~~~~
This software is subject to the "Standard Amiga FD-Software Copyright Note"
It is FREEWARE as defined in paragraph 4a.
For more information please read "AFD-COPYRIGHT" (Version 1 or higher).
MSFU is freeware but however you can send me a postcard or an email
if you use it :^)
AUTHOR :
~~~~~~~~
Lionel Vintenat (vintenat@supaero.fr)